package com.zerox.sbdemo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName
public class Fruit {
    // fruit_id
    @TableId(value = "fruitId",type = IdType.AUTO)
    private int fruitId;
    @TableField
    private String type;

    private String breed;
    private String area;
    private String brief;
    private int weight;
    private double price;
    private String pic;
}
